This query returns a C string containing the path to the current default folder, ending without a backslash in Windows (unless it is the root folder, e.g., c:\), but with a colon on the MacintoshDefault folder reset. PageMaker automatically resets the default folder to the folder last-accessed whenever you open, place, export, or save with either File > Save As or the SaveAs command.
To change the default directory, use the PDefaultDir command class.
Example.
PGetDefaultDir defDir;
strcpy(filespec, defDir);
Comments or suggestions? Contact Adobe Developer Support